package com.beidu.lottery.call.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 活动基础信息
 * </p>
 *
 * @author 北渡
 * @since 2023-08-09
 */
@Data
@Builder
@ApiModel(value = "CmsUserListVO")
@NoArgsConstructor
@AllArgsConstructor
public class CmsUserListVO implements Serializable {


    @ApiModelProperty(value = "用户id")
    private Long id;

    @ApiModelProperty(value = "用户头像地址")
    private String avatar;

    @ApiModelProperty(value = "用户昵称")
    private String nickName;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdDate;

    @ApiModelProperty(value = "最近一次中奖时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime lotteryDate;

    @ApiModelProperty(value = "最近一次中奖地址")
    private String consigneeAddress;

    @ApiModelProperty(value = "抽奖订单数")
    private Integer orderNum;

    @ApiModelProperty(value = "是否拉黑，0-否，1-是")
    private Integer inBlack;

    @ApiModelProperty(value = "是否禁言，0-否，1-是")
    private Integer banned;


}
